<!DOCTYPE html>
<html>
{% block head %}

<head>
  {% load staticfiles %}
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <link rel="Shortcut Icon" href="/static/ico/X_128px.ico" type="image/x-icon">
  <title>XFindSalary | 资金管理系统</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  {% block CSShead %}
  <script src="{% static 'js/basebase.js'%}" type="text/javascript"></script>
  <link rel="stylesheet" href="{% static 'css/reset.css' %}">
  <link rel="stylesheet" href="{% static 'bower_components/bootstrap/dist/css/bootstrap.min.css'%}">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="{% static 'bower_components/font-awesome/css/font-awesome.min.css'%}">
  <!-- Ionicons -->
  <link rel="stylesheet" href="{% static 'bower_components/Ionicons/css/ionicons.min.css'%}">
  <!-- Theme style -->
  <link rel="stylesheet" href="{% static 'dist/css/ZCfile.min.css'%}">

  <link rel="stylesheet" href="{% static 'dist/css/skins/skin-purple-light.min.css'%}">

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->

  <!-- Google Font -->
  <link rel="stylesheet" href="{% static 'css/GoogleSourceSansProFont.css'%}">
  <link rel="stylesheet" href="{% static 'css/remodal.css'%}">
  <link rel="stylesheet" href="{% static 'css/remodal-default-theme.css'%}">
  <link rel="stylesheet" href="{% static 'css/666.css'%}">
  <link rel="stylesheet" type="text/css" href="{% static 'css/PopupPurple.css'%}">
  <link rel="stylesheet" href="{% static 'css/loading.css' %}">
  <link rel="stylesheet" href="{% static 'css/util.css' %}">

  {% block CSSAnotherhead %}
  {% endblock %}
  {% endblock %}
  {% block loadJSfirst %}
  {% endblock %}
</head>
{% endblock %}

{% block bodyhead %}

<body class="hold-transition skin-purple-light sidebar-mini" onload="startClock();initPage();" onunload="stopClock()">
  {% endblock %}

  {% include 'reference/loading.html' %}

  {% block ModalToShow %}
  <!-- 模态框 -->
  <div class="remodal" data-remodal-id="mysign" role="dialog" aria-labelledby="modal1Title"
    aria-describedby="modal1Desc">
    <button data-remodal-action="close" class="remodal-close" aria-label="Close"></button>
    <div>
      <!-- 模态框头部 -->
      <h3 id="modal1Title" style="color: #f39c12;"><i class="fa fa-warning"></i>警告</h3><br>
      <!-- 模态框主体 -->
      <p id="modal1Desc">
        您还未选择对应考勤单，即将前往考勤详情界面！
      </p>
    </div>
    <br>
    <!-- 模态框底部 -->
    <button data-remodal-action="cancel" class="remodal-cancel">取消</button>
    <a href="{% url 'GZGL:SignDetails' %}"><button class="remodal-confirm">确定</button></a>
  </div>

  {% endblock %}

  <div class="wrapper">

    <!-- Main Header -->
    {% block main-header %}
    <header class="main-header">

      <!-- Logo -->
      <a href="#" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"><b>X</b>Sa</span>
        <!-- logo for regular s tate and mobile devices -->
        <span class="logo-lg"><b>XFind</b>Salary</span>
      </a>

      <!-- Header Navbar -->
      <nav class="navbar navbar-static-top" role="navigation">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
          <span class="sr-only">Toggle navigation</span>
        </a>
        <!-- Navbar Right Menu -->
        <div class="navbar-custom-menu">
          <ul class="nav navbar-nav">
            <!-- Messages: style can be found in dropdown.less-->
            <li class="dropdown messages-menu">
              <!-- Menu toggle button -->
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <i class="fa fa-envelope-o"></i>
                <span class="label label-success">4</span>
              </a>
              <ul class="dropdown-menu">
                <li class="header">You have 4 messages</li>
                <li>
                  <!-- inner menu: contains the messages -->
                  <ul class="menu">
                    <li>
                      <!-- start message -->
                      <a href="#">
                        <div class="pull-left">
                          <!-- User Image -->
                          <img src="/static/img/X_72px.png" class="img-circle" alt="User Image">
                        </div>
                        <!-- Message title and timestamp -->
                        <h4>
                          Support Team
                          <small><i class="fa fa-clock-o"></i> 5 mins</small>
                        </h4>
                        <!-- The message -->
                        <p>Why not buy a new awesome theme?</p>
                      </a>
                    </li>
                    <!-- end message -->
                  </ul>
                  <!-- /.menu -->
                </li>
                <li class="footer"><a href="#">See All Messages</a></li>
              </ul>
            </li>
            <!-- /.messages-menu -->

            <!-- Notifications Menu -->
            <li class="dropdown notifications-menu">
              <!-- Menu toggle button -->
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <i class="fa fa-bell-o"></i>
                <span class="label label-warning">10</span>
              </a>
              <ul class="dropdown-menu">
                <li class="header">You have 10 notifications</li>
                <li>
                  <!-- Inner Menu: contains the notifications -->
                  <ul class="menu">
                    <li>
                      <!-- start notification -->
                      <a href="#">
                        <i class="fa fa-users text-aqua"></i> 5 new members joined today
                      </a>
                    </li>
                    <!-- end notification -->
                  </ul>
                </li>
                <li class="footer"><a href="#">View all</a></li>
              </ul>
            </li>
            <!-- Tasks Menu -->
            <li class="dropdown tasks-menu">
              <!-- Menu Toggle Button -->
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <i class="fa fa-flag-o"></i>
                <span class="label label-danger">9</span>
              </a>
              <ul class="dropdown-menu">
                <li class="header">You have 9 tasks</li>
                <li>
                  <!-- Inner menu: contains the tasks -->
                  <ul class="menu">
                    <li>
                      <!-- Task item -->
                      <a href="#">
                        <!-- Task title and progress text -->
                        <h3>
                          Design some buttons
                          <small class="pull-right">20%</small>
                        </h3>
                        <!-- The progress bar -->
                        <div class="progress xs">
                          <!-- Change the css width attribute to simulate progress -->
                          <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar"
                            aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                            <span class="sr-only">20% Complete</span>
                          </div>
                        </div>
                      </a>
                    </li>
                    <!-- end task item -->
                  </ul>
                </li>
                <li class="footer">
                  <a href="#">View all tasks</a>
                </li>
              </ul>
            </li>
            <!-- User Account Menu -->
            <li class="dropdown user user-menu">
              <!-- Menu Toggle Button -->
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <!-- The user image in the navbar-->
                <img src="/static/img/X_72px.png" class="user-image" alt="User Image">
                <!-- hidden-xs hides the username on small devices so only the image appears. -->
                <span class="hidden-xs">{{here.staff_name}} | {{here.staff_id}}</span>
              </a>
              <ul class="dropdown-menu">
                <!-- The user image in the menu -->
                <li class="user-header">
                  <img src="/static/img/X_72px.png" class="img-circle" alt="User Image">

                  <p>
                    {{here.staff_name}} - {{here.staff_Employee_type}}
                    <small>入职于 {{here.staff_InJobdate}}</small>
                  </p>
                </li>
                <!-- Menu Body -->
                <li class="user-body">
                  <div class="row">
                    <div class="col-xs-4 text-center">
                      <a href="#">Followers</a>
                    </div>
                    <div class="col-xs-4 text-center">
                      <a href="#">Sales</a>
                    </div>
                    <div class="col-xs-4 text-center">
                      <a href="#">Friends</a>
                    </div>
                  </div>
                  <!-- /.row -->
                </li>
                <!-- Menu Footer-->
                <li class="user-footer">
                  <div class="pull-left">
                    <a class="btn btn-primary btn-flat" data-toggle="modal" data-target="#ResetModal"><i
                        class="fa fa-pencil-square-o" style="margin-right:3px;"></i>修改密码</a>
                  </div>
                  <div class="pull-right">
                    <a href="{% url 'GZGL:logout_okk' %}" class="btn btn-danger btn-flat"><i class="fa fa-power-off"
                        style="margin-right:3px;"></i> 注 销 </a>
                  </div>
                </li>
              </ul>
            </li>
            <!-- Control Sidebar Toggle Button -->
            <li>
              <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
            </li>
          </ul>
        </div>
      </nav>
    </header>
    {% endblock %}

    <!-- Left side column. contains the logo and sidebar -->

    {% block main-siderbar %}
    <aside class="main-sidebar">

      <!-- sidebar: style can be found in sidebar.less -->
      <section class="sidebar">

        <!-- Sidebar user panel (optional) -->
        <div class="user-panel">
          <div class="pull-left image">
            <img src="/static/img/X_72px.png" class="img-circle" alt="User Image">
          </div>
          <div class="pull-left info">
            <p>{{here.staff_name}} | {{here.staff_id}}</p>
            <!-- Status -->
            <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
          </div>
        </div>
        {% block sidebar-form %}
        <!-- search form (Optional) -->
        <form action="#" method="get" class="sidebar-form">
          <div class="input-group">
            <input type="text" name="q" class="form-control" placeholder="Search...">
            <span class="input-group-btn">
              <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
              </button>
            </span>
          </div>
        </form>
        <!-- /.search form -->
        {% endblock %}
        {% block sidebar-menu %}
        <!-- Sidebar Menu -->
        <ul class="sidebar-menu" data-widget="tree">
          <li class="header">XFindSalary | 员工工资查询系统</li>
          <!-- Optionally, you can add icons to the links -->
          {% block MyXFind %}
          <li><a href="{% url 'GZGL:SalarySysMenu' %}"><i class="fa fa-money"></i> <span> XFindSalary</span></a></li>
          {% endblock %}
          {% block MySign %}
          <li class="treeview">
            <a href="#">
              <i class="fa fa fa-mouse-pointer"></i>
              <span> 考勤状态</span>
              <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
            </a>
            <ul class="treeview-menu">
              <li><a href="{% url 'GZGL:Signin' %}"><i class="fa fa-circle-o"></i> 考勤操作</a></li>
              <li><a href="{% url 'GZGL:SignDetails' %}"><i class="fa fa-circle-o"></i> 查看考勤详情</a></li>

            </ul>
          </li>
          {% endblock %}
          {% block MySalary %}
          <li class="treeview">
            <a href="#">
              <i class="fa fa-pie-chart"></i>
              <span>工资管理</span>
              <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
            </a>
            <ul class="treeview-menu">
              <li><a href="{% url 'GZGL:ShowAMonthSalary' %}"><i class="fa fa-circle-o"></i> 查看当月个人工资</a></li>
              <li><a href="{% url 'GZGL:ShowAllSalaryRecent' %}"><i class="fa fa-circle-o"></i> 查看工资记录</a></li>
            </ul>
          </li>
          {% endblock %}

          {% block MyReport %}
          <li class="treeview">
            <a href="#">
              <i class="fa fa-hand-paper-o"></i>
              <span> 业务申报登记</span>
              <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
            </a>
            <ul class="treeview-menu">
              <li><a href="{% url 'GZGL:ReportWorking' %}"><i class="fa  fa-circle-o"></i> <span> 业绩申报</span></a></li>
              <li><a href="{% url 'GZGL:ReportSalary' %}"><i class="fa fa-circle-o"></i> 工资异常申报</a></li>
              <li><a href="#mysign"><i class="fa fa-circle-o"></i> 考勤异常申报</a></li>
              <li><a href="{% url 'GZGL:ReportOther' %}"><i class="fa fa-circle-o"></i> 其他异常申报</a></li>
            </ul>
          </li>
          {% endblock %}
          {% block MyReoprtDetails %}
          <li><a href="{% url 'GZGL:MyReportDetails' %}"><i class="glyphicon glyphicon-align-left"></i> <span>
                我的申报单</span></a></li>
          {% endblock %}

          {% block MyRewards %}
          <li><a href="{% url 'GZGL:Rewards_Punishments' %}"><i class="fa  fa-search"></i> <span> 奖惩查询</span></a></li>
          {% endblock %}
          {% block MyAchievement %}
          <li><a href="{% url 'GZGL:WorkAchievement' %}"><i class="fa  fa-list-ul"></i> <span> 绩效查询</span></a></li>
          {% endblock %}
          <li class="header">XFindSalary | 我的资料</li>
          {% block Myfile %}
          <li class="treeview">
            <a href="#">
              <i class="fa fa-bank"></i>
              <span> 我的资料</span>
              <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
            </a>
            <ul class="treeview-menu">
              <li><a href="{% url 'GZGL:myprofile' %}"><i class="fa fa-circle-o"></i> 资料详情</a></li>
              <li><a href="{% url 'GZGL:setpassword' %}"><i class="fa fa-circle-o"></i> 修改密码</a></li>

            </ul>
          </li>
          {% endblock %}

        </ul>
        <!-- /.sidebar-menu -->
        {% endblock %}
      </section>
      <!-- /.sidebar -->
    </aside>
    {% endblock %}

    <!-- Content Wrapper. Contains page content -->

    {% block content %}

    <!-- /.content-wrapper -->
    {% endblock %}



    <!-- Main Footer -->

    {% block main-footer %}
    <footer class="main-footer">
      <!-- To the right -->
      <div class="pull-right hidden-xs">
        Anything you want
      </div>
      <!-- Default to the left -->
      <strong>Copyright &copy; 2018-2019 <a href="#">XFindSalary</a>.</strong> All rights reserved.
    </footer>
    {% endblock %}

    <!-- Control Sidebar -->

    {% block control-sidebar %}
    <aside class="control-sidebar control-sidebar-dark">
      <!-- Create the tabs -->
      <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
        <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
        <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
      </ul>
      <!-- Tab panes -->
      <div class="tab-content">
        <!-- Home tab content -->
        <div class="tab-pane active" id="control-sidebar-home-tab">
          <h3 class="control-sidebar-heading">Recent Activity</h3>
          <ul class="control-sidebar-menu">
            <li>
              <a href="javascript:;">
                <i class="menu-icon fa fa-birthday-cake bg-red"></i>

                <div class="menu-info">
                  <h4 class="control-sidebar-subheading">Langdon's Birthday</h4>

                  <p>Will be 23 on April 24th</p>
                </div>
              </a>
            </li>
          </ul>
          <!-- /.control-sidebar-menu -->

          <h3 class="control-sidebar-heading">Tasks Progress</h3>
          <ul class="control-sidebar-menu">
            <li>
              <a href="javascript:;">
                <h4 class="control-sidebar-subheading">
                  Custom Template Design
                  <span class="pull-right-container">
                    <span class="label label-danger pull-right">70%</span>
                  </span>
                </h4>

                <div class="progress progress-xxs">
                  <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
                </div>
              </a>
            </li>
          </ul>
          <!-- /.control-sidebar-menu -->

        </div>
        <!-- /.tab-pane -->
        <!-- Stats tab content -->
        <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div>
        <!-- /.tab-pane -->
        <!-- Settings tab content -->
        <div class="tab-pane" id="control-sidebar-settings-tab">
          <form method="post">
            <h3 class="control-sidebar-heading">General Settings</h3>

            <div class="form-group">
              <label class="control-sidebar-subheading">
                Report panel usage
                <input type="checkbox" class="pull-right" checked>
              </label>

              <p>
                Some information about this general settings option
              </p>
            </div>
            <!-- /.form-group -->
          </form>
        </div>
        <!-- /.tab-pane -->
      </div>
    </aside>

    <!-- /.control-sidebar -->
    <!-- Add the sidebar's background. This div must be placed
  immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>
    {% endblock %}

  </div>
  <!-- ./wrapper -->

  {% include 'reference/Modalresetpwd.html' %}
  {% include 'reference/ModalFindpassword.html' %}

  {% block JSFile %}

  <!-- jQuery 3 -->
  <script src="{% static 'bower_components/jquery/dist/jquery.min.js'%}" type="text/javascript"></script>

  <!-- AdminLTE App -->
  <script src="{% static 'dist/js/adminlte.min.js'%}" type="text/javascript"></script>
  <!-- Bootstrap 3.3.7 -->
  <script src="{% static 'bower_components/bootstrap/dist/js/bootstrap.min.js'%}" type="text/javascript"></script>
  <script src="{% static 'js/remodal.js'%}" type="text/javascript"></script>
  <script src="{% static 'js/modalform.js'%}" type="text/javascript"></script>
  <script src="{% static 'js/resetpwd.js'%}" type="text/javascript"></script>
  <script>
    $(document).on('opening', '.remodal', function () {
      console.log('opening');
    });

    $(document).on('opened', '.remodal', function () {
      console.log('opened');
    });

    $(document).on('closing', '.remodal', function (e) {
      console.log('closing' + (e.reason ? ', reason: ' + e.reason : ''));
    });

    $(document).on('closed', '.remodal', function (e) {
      console.log('closed' + (e.reason ? ', reason: ' + e.reason : ''));
    });

    $(document).on('confirmation', '.remodal', function () {
      console.log('confirmation');
    });

    $(document).on('cancellation', '.remodal', function () {
      console.log('cancellation');
    });

  </script>
  {% block JSAnotherFile %}
  <!-- REQUIRED JS SCRIPTS -->
  <script src="{% static 'js/Signin.js'%}" type="text/javascript"></script>

  {% endblock %}
  {% endblock %}

  <!-- Optionally, you can add Slimscroll and FastClick plugins.
     Both of these plugins are recommended to enhance the
     user experience. -->
</body>

</html>